package com.erp.erp_ui.warehouse.vo;

import java.math.BigDecimal;

/**
 * @ClassName : PlanInStoreProductReq
 * @Description : 备货入库产品出参实体
 * @Author : lst
 * @Date: 2020-11-24 21:44
 */
public class PlanInStoreProductVo {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 出运明细id
     */
    private Integer carryDetailId;
    /**
     * 入库id
     */
    private Integer instoreId;
    /**
     * 库存id
     */
    private Integer stockId;
    /**
     * 库存明细id
     */
    private Integer stockDetailId;
    /**
     * 入库成本
     */
    private BigDecimal instoreCost;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private Integer contractType;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private String contractTypeStr;
    /**
     * 采购单号(多个采购单号以英文逗号隔开)
     */
    private String purchaseNo;
    /**
     * 采购id(多个采购单号以英文逗号隔开)
     */
    private String purchaseId;
    /**
     * 产品类型(1:成品 2:配件 3:料件)
     */
    private Integer productType;
    /**
     * 产品id
     */
    private Integer productId;
    /**
     * 规格id
     */
    private Integer specificationId;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 产品条码
     */
    private String productBarcode;
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 客户货号
     */
    private String clientProductNo;
    /**
     * 销售合同号
     */
    private String saleContractNo;
    /**
     * 颜色
     */
    private String color;
    /**
     * 产品中文名称
     */
    private String productCname;
    /**
     * 产品英文名称
     */
    private String productEname;
    /**
     * 产品中文描述
     */
    private String productCdesc;
    /**
     * 产品英文描述
     */
    private String productEdesc;
    /**
     * 规格说明
     */
    private String specificationExplanation;
    /**
     * 毛重
     */
    private BigDecimal grossWeight;
    /**
     * 净重
     */
    private BigDecimal netWeight;
    /**
     * 单位
     */
    private String productUnit;
    /**
     * 体积
     */
    private BigDecimal bulk;
    /**
     * 数量
     */
    private BigDecimal num;
    /**
     * 长
     */
    private BigDecimal outerLength;
    /**
     * 宽
     */
    private BigDecimal outerWidth;
    /**
     * 高
     */
    private BigDecimal outerHeight;
    /**
     * 金额小计
     */
    private BigDecimal moneySubtotal;
    /**
     * 供应商id
     */
    private Integer supplierId;
    /**
     * 供应商名称
     */
    private String supplierName;
    /**
     * 批次号
     */
    private String lotNo;
    /**
     * 备注
     */
    private String memo;
    /**
     * 参考数量
     */
    private BigDecimal referenceQuantity;
    /**
     * 仓库id
     */
    private String warehouseId;
    /**
     * 仓库
     */
    private String warehouseName;

    /**
     * 新仓库id
     */
    private String newWarehouseId;
    /**
     * 新仓库
     */
    private String newWarehouseName;
    /**
     * 补录费用
     */
    private BigDecimal reRecordingFee;
    /**
     * 分摊费用单价
     */
    private BigDecimal shareCostPrice;
    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;
    /**
     * 总托盘
     */
    private BigDecimal totalTray;
    /**
     * 外币单价
     */
    private BigDecimal foreignCurrencyUnitPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarryDetailId() {
        return carryDetailId;
    }

    public void setCarryDetailId(Integer carryDetailId) {
        this.carryDetailId = carryDetailId;
    }

    public Integer getInstoreId() {
        return instoreId;
    }

    public void setInstoreId(Integer instoreId) {
        this.instoreId = instoreId;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public Integer getStockDetailId() {
        return stockDetailId;
    }

    public void setStockDetailId(Integer stockDetailId) {
        this.stockDetailId = stockDetailId;
    }

    public BigDecimal getInstoreCost() {
        return instoreCost;
    }

    public void setInstoreCost(BigDecimal instoreCost) {
        this.instoreCost = instoreCost;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getContractTypeStr() {
        return contractTypeStr;
    }

    public void setContractTypeStr(String contractTypeStr) {
        this.contractTypeStr = contractTypeStr;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(String purchaseId) {
        this.purchaseId = purchaseId;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(Integer specificationId) {
        this.specificationId = specificationId;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getProductBarcode() {
        return productBarcode;
    }

    public void setProductBarcode(String productBarcode) {
        this.productBarcode = productBarcode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getClientProductNo() {
        return clientProductNo;
    }

    public void setClientProductNo(String clientProductNo) {
        this.clientProductNo = clientProductNo;
    }

    public String getSaleContractNo() {
        return saleContractNo;
    }

    public void setSaleContractNo(String saleContractNo) {
        this.saleContractNo = saleContractNo;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getBulk() {
        return bulk;
    }

    public void setBulk(BigDecimal bulk) {
        this.bulk = bulk;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getOuterLength() {
        return outerLength;
    }

    public void setOuterLength(BigDecimal outerLength) {
        this.outerLength = outerLength;
    }

    public BigDecimal getOuterWidth() {
        return outerWidth;
    }

    public void setOuterWidth(BigDecimal outerWidth) {
        this.outerWidth = outerWidth;
    }

    public BigDecimal getOuterHeight() {
        return outerHeight;
    }

    public void setOuterHeight(BigDecimal outerHeight) {
        this.outerHeight = outerHeight;
    }

    public BigDecimal getMoneySubtotal() {
        return moneySubtotal;
    }

    public void setMoneySubtotal(BigDecimal moneySubtotal) {
        this.moneySubtotal = moneySubtotal;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getReferenceQuantity() {
        return referenceQuantity;
    }

    public void setReferenceQuantity(BigDecimal referenceQuantity) {
        this.referenceQuantity = referenceQuantity;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }


    public String getNewWarehouseId() {
        return newWarehouseId;
    }

    public void setNewWarehouseId(String newWarehouseId) {
        this.newWarehouseId = newWarehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getNewWarehouseName() {
        return newWarehouseName;
    }

    public void setNewWarehouseName(String newWarehouseName) {
        this.newWarehouseName = newWarehouseName;
    }

    public BigDecimal getReRecordingFee() {
        return reRecordingFee;
    }

    public void setReRecordingFee(BigDecimal reRecordingFee) {
        this.reRecordingFee = reRecordingFee;
    }

    public BigDecimal getShareCostPrice() {
        return shareCostPrice;
    }

    public void setShareCostPrice(BigDecimal shareCostPrice) {
        this.shareCostPrice = shareCostPrice;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public BigDecimal getForeignCurrencyUnitPrice() {
        return foreignCurrencyUnitPrice;
    }

    public void setForeignCurrencyUnitPrice(BigDecimal foreignCurrencyUnitPrice) {
        this.foreignCurrencyUnitPrice = foreignCurrencyUnitPrice;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PlanInStoreProductVo").append('[')
                .append("id=")
                .append(id)
                .append(",carryDetailId=")
                .append(carryDetailId)
                .append(",instoreId=")
                .append(instoreId)
                .append(",stockId=")
                .append(stockId)
                .append(",stockDetailId=")
                .append(stockDetailId)
                .append(",instoreCost=")
                .append(instoreCost)
                .append(",contractType=")
                .append(contractType)
                .append(",contractTypeStr=")
                .append(contractTypeStr)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",purchaseId=")
                .append(purchaseId)
                .append(",productType=")
                .append(productType)
                .append(",productId=")
                .append(productId)
                .append(",specificationId=")
                .append(specificationId)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",productBarcode=")
                .append(productBarcode)
                .append(",productCode=")
                .append(productCode)
                .append(",clientProductNo=")
                .append(clientProductNo)
                .append(",saleContractNo=")
                .append(saleContractNo)
                .append(",color=")
                .append(color)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",grossWeight=")
                .append(grossWeight)
                .append(",netWeight=")
                .append(netWeight)
                .append(",productUnit=")
                .append(productUnit)
                .append(",bulk=")
                .append(bulk)
                .append(",num=")
                .append(num)
                .append(",outerLength=")
                .append(outerLength)
                .append(",outerWidth=")
                .append(outerWidth)
                .append(",outerHeight=")
                .append(outerHeight)
                .append(",moneySubtotal=")
                .append(moneySubtotal)
                .append(",supplierId=")
                .append(supplierId)
                .append(",supplierName=")
                .append(supplierName)
                .append(",lotNo=")
                .append(lotNo)
                .append(",memo=")
                .append(memo)
                .append(",referenceQuantity=")
                .append(referenceQuantity)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",newWarehouseId=")
                .append(newWarehouseId)
                .append(",newWarehouseName=")
                .append(newWarehouseName)
                .append(",reRecordingFee=")
                .append(reRecordingFee)
                .append(",shareCostPrice=")
                .append(shareCostPrice)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",foreignCurrencyUnitPrice=")
                .append(foreignCurrencyUnitPrice)
                .append(']');
        return sb.toString();
    }
}
